package com.foton.bpc.all.config.annotion;

import com.foton.bpc.all.config.plaugins.BpcPostProcessor;
import com.foton.bpc.all.config.plaugins.ConrfigBeanRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author RenPu
 * @Date 2023/3/2 16:10
 * @Version 1.0
 * @Description: 开启rpc框架注解
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({BpcPostProcessor.class, ConrfigBeanRegister.class})
public @interface EnableBpc {
}
